package ru.amse.tsyganov.jumleditor.view.lines;

import ru.amse.tsyganov.jumleditor.view.ConnectionPoint;

public abstract class ConnectionPointLine extends Line {
	
	private ConnectionPoint connectionPoint;
	
	private int coordinate;
	
	public ConnectionPointLine(ConnectionPoint p, int cord) {
		this.connectionPoint = p;
		this.coordinate = cord;
	}

	protected ConnectionPoint getConnectionPoint() {
		return connectionPoint;
	}

	protected int getCoordinate() {
		return coordinate;
	}

	protected void setCoordinate(int coordinate) {
		this.coordinate = coordinate;
	}
}
